/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tree;

/**
 * Typ promenne.
 */
public enum Type {

    INTEGER(1),
    REAL(2),
    STRING(1),
    ARRAY(1),
    POINTER(1);
    private int size;

    private Type(int size) {
        this.size = size;
    }

    /**
     * Vraci pocet slotu pro dany typ.
     */
    public int getSize() {
        return size;
    }
}
